﻿using System;
using Autodesk.Revit.DB;
using HYRevitCode.ElementCreatUtility;

namespace HYDrawTool
{
	public class LineTypeTool
	{
        public static GraphicsStyle CreateLineType(Document doc, string name, Color color, int widIndex, GraphicsStyleType type = (GraphicsStyleType)1)
		{
			return LineTypeCreatUtilityMethod.CreateLineType(doc, name, color, widIndex, type);
		}

		public static void DeleteLineType(Document doc, string name)
		{
			LineTypeCreatUtilityMethod.DeleteLineType(doc, name);
		}
	}
}
